package com.nbcb.fund.common.util;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class DateUtil {

    private static SimpleDateFormat simpleDateFormatDay = new SimpleDateFormat("YYYY-MM-dd");
    private static SimpleDateFormat SimpleDateFormatTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");



    public static String nowDay(){
        String format = simpleDateFormatDay.format(new Date());
        return format;
    }


    public static Date nowDate(){
        return new Date();
    }


}
